<?php

class site_template_model extends MY_Model {

    protected $table = 'site_template';

    function __construct() {
        parent::__construct();
    }

    public function insert($data) {
        $this->db->insert($this->table, $data);
        return $this->db->insert_id();
    }
   
}
